package com.example.demo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  朋友关系类
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("friendchart")
public class FriendChart {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /** 用户ID */
    private Integer selfId;
    /** 朋友ID */
    private Integer friendId;

    public FriendChart( Integer selfId,Integer friendId) {
        this.selfId = selfId;
        this.friendId = friendId;
    }
}
